package com.crux.kafka2ch.event;

import com.crux.kafka2ch.dto.AccessLogDto;
import org.springframework.context.ApplicationEvent;

public class AccessLogEvent extends ApplicationEvent {
    private final AccessLogDto accessLogDto;

    public AccessLogEvent(Object source, AccessLogDto accessLogDto) {
        super(source);
        this.accessLogDto = accessLogDto;
    }

    public AccessLogDto getAccessLogDto() {
        return accessLogDto;
    }
}
